from django.shortcuts import render


def index(request):
    title = '模版继承'
    value = 'apple'
    return render(request, 'extend/index.html', locals())


def jinja2(request):
    value = {'name': 'jinja2'}
    return render(request, 'jinja2_index.html', locals())
